import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import store from 'store/index.js'
import wybButton from './components/wyb-button/wyb-button.vue'
Vue.config.productionTip = false
App.mpType = 'app'
Vue.prototype.$store = store,
Vue.component('wyb-button', wybButton)

// 创建Vue实例
const app = new Vue({
    ...App,
	store
})
// 挂载
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif